import Vue from 'vue'
import App from './App.vue'

import router from "./router/index"
import "./style/rest.scss"
import * as api from './api/user'
import * as apisidebar from './api/sidebar'
import store from './store'
import ElementUI from "element-ui"

import './styles.scss'

Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$http = api
Vue.prototype.$http = apisidebar

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
